package com.gaussian.property.app.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @description:
 * @author: songqi(13776346982)
 * @date: 2024/4/18 23:53
 */
@Data
public class IcsUser {

    @ApiModelProperty("用户ID")
    private Long crewId;

    @ApiModelProperty("真实姓名")
    private String realName;

    @ApiModelProperty("项目列表")
    private List<Project> items;

    @ApiModelProperty("是否是高仙管理员(Y-是,N-否)")
    private String gaussian;

    @ApiModelProperty("人员种类(A-管理员,O-其他.P-物业项目)")
    private String type;

    @ApiModelProperty("IAM的租户ID")
    private String iamTenantId;

    @ApiModelProperty("租户名称")
    private String tenantName;

    @ApiModelProperty("岗位名称列表")
    private List<String> positionNames;

    @ApiModelProperty("部门名称列表")
    private List<String> orgNames;

    @ApiModelProperty("是否需要安全码(REQUIRED-需要; N-不需要; INVALID-安全码不正确)")
    private String securityCode;

    @ApiModelProperty("性别(U-未知,M-男性,F-女性)")
    private String gender;

    @Data
    public static class Project {
        private String itemId;

        private String itemName;
    }
}
